package com.example.ymm.modules1.mapper.my.user;

import com.example.ymm.base.CoreMapper;
import com.example.ymm.modules1.entity.my.user.DbApprovalLog;
import com.example.ymm.modules1.entity.my.user.KqApproveLog;
import com.example.ymm.modules1.entity.my.user.KqUser;
import com.example.ymm.modules1.query.kq.KqApproveLogQueryCriteria;
import com.example.ymm.modules1.query.kq.KqUserQueryCriteria;
import com.example.ymm.modules1.service.dto.heng.kq.ViewKqUser;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface KqApproveLogMapper extends CoreMapper<KqApproveLog> {


    DbApprovalLog approveCount(KqApproveLogQueryCriteria criteria);

    /**
     * 获取已审批通过的休息记录   这个月
     * @param criteria
     * @return
     */
    List<KqApproveLog> getXiuxiList(KqApproveLogQueryCriteria criteria);

}